<style type="text/css">
    .ml35 {
      margin-left: 35px;
    }
  </style>

<div class="col-sm-12 mt20">

    <div class="panel panel-default">
        <div class="panel-body" ng-keyup="myKeyup($event)">
            <div class="col-sm-2">
                <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                    <input class="form-control"/>
                    <span class="input-group-addon">
                      <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>
            <div class="col-sm-2">
                <div class="input-group" datetimepicker ng-model="vm1.date" options="vm1.options">
                    <input class="form-control"/>
                    <span class="input-group-addon">
                      <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>
            <div class="col-sm-2 pull-right">
                <button class="btn btn-info search btn-block" ng-click="loadlist()">立即搜索</button>
            </div>
        </div>

        <div class="panel-body">
            <table class="table table-striped table-bordered dataTable table-condensed tree_table" style="table-layout:fixed">
                <thead>
                    <tr>
                        <th class="col-md-2 text-center">订单编号</th>
                        <th class="col-md-2 text-center">金额类型</th>
                        <th class="col-md-2 text-center">变动前金额</th>
                        <th class="col-md-2 text-center">变动后金额</th>
                        <th class="col-md-2 text-center">本次变动金额</th>
                        <th class="col-md-2 text-center">创建时间</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="obj in objs">
                        <td class="text-center">{{obj.order_code}}</td>
                        <td class="text-center">
                          <p ng-if="obj.track_type == 'shop_profit'">店铺利润</p>
                          <p ng-if="obj.track_type == 'shop_cost'">店铺成本</p>
                          <p ng-if="obj.track_type == 'shop_charge'">店铺手续费</p>
                        </td>
                        <td class="text-center">{{obj.before_track_price / 100 | currency : '¥'}}</td>
                        <td class="text-center">{{obj.after_track_price / 100 | currency : '¥'}}</td>
                        <td class="text-center">{{obj.track_price / 100 | currency : '¥'}}</td>
                        <td class="text-center">{{obj.create_time}}</td>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="text-right">
            <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="loadlist()" previous-text="上一页" next-text="下一页"
               first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
               class="m-t-none m-b">
           </pagination>
        </div>

    </div>
</div>